package core;


import semanticAbstraction.SemanticHandlerFactory;

import semanticAbstraction.interfaces.SemanticHandler;
import java.util.HashMap;

import helper.GroundingInformation;
import helper.wsdlHelper.WSDLHelper;




import core.exceptions.InvocationException;
import core.interfaces.CoreInterface;



/**
 * This class implements the core functionality of SISi by means of {@link CoreInterface}. 
 * It is the basis for all {@ link externalInterface}s.
 * 
 * @author Christian Stamber
 *
 */
public class CoreControllerDummy implements CoreInterface{
	
	public String invokeSemantically(String semanticDescription, String semanticInput){
		System.out.println("invokeSemantically("+ semanticDescription+", "+semanticInput+")");
		
		return "invokeSemantically_RESPONSE";
		
	}
	
	public String invokeSyntactically(String semanticDescription, String soapBodyInput){
		System.out.println("invokeSyntactically("+ semanticDescription+", "+soapBodyInput+")");
	
		return "invokeSyntactically_RESPONSE";
	}
	

	
	
	public boolean decide(String semanticInput, String condition) {
		System.out.println("decide("+ semanticInput+", "+condition+")");
		
		return true;
	}
	
	public String map(String sourceGoal, String sourceInstance, String targetGoal, String targetInstance, String sourceInput){
		System.out.println("map("+ sourceGoal+", "+ sourceInstance+", "+ targetGoal+", "+ targetInstance+", "+sourceInput+")");
		return "map_RESPONSE";
	}
	
	public String merge(String input1, String ontologyName1, String instanceName1, String input2, String ontologyName2, String instanceName2, String outputOntologyName){
		System.out.println("merge("+ input1+", "+ ontologyName1+", "+ instanceName1+", "+ input2+", "+ontologyName2+", "+ instanceName2+", "+outputOntologyName+")");
		return "merge_RESPONSE";
	}
	
}
